* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  margin: 0;
  background-color: #f5f5f5;
}
.text-ellipsis-2 {
  overflow: hidden;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
/* .van-nav-bar .van-icon-arrow-left {
  color: #333;
} */
:root:root {
  --van-floating-bubble-z-index: 900
}
.van-theme-dark body {
  color: #f5f5f5;
  background-color: black;
}
/* 深色模式下 */
.van-theme-dark {
  --van-field__control-border: 0.1px solid #4e4d4d; /* 新建歌单输入框边框 */
  --common-background-color:black; /* 通用背景色 */
}
/* 浅色模式下 */
.van-theme-light {
  --van-field__control-background-color: #f5f5f5; /* 新建歌单输入框背景色 */
  --common-background-color:#f5f5f5; /* 通用背景色 */
  /* --timing-close-slider-active-background: var(--van-slider-inactive-background); */
}
/* 导航栏 */
.van-nav-bar {
  --van-nav-bar-icon-color: #c0c0c0;
}

/* 引入第三方或自定义的字体图标样式 */
@font-face {
  font-family: 'my-icon';
  src:
    url('@/assets/iconfont/iconfont.woff2') format('woff2'),
    url('@/assets/iconfont/iconfont.woff') format('woff'),
    url('@/assets/iconfont/iconfont.ttf') format('truetype');
}

.my-icon {
  font-family: 'my-icon' !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* 上一首 */
.my-icon-prev::before {
  content: '\e60a';
}
/* 下一首 */
.my-icon-next::before {
  content: '\e60b';
}
/* 顺序 */
.my-icon-shunXu::before {
  content: '\e6a3';
}
/* 单曲 */
.my-icon-danQu::before {
  content: '\e6a2';
}
/* 随机 */
.my-icon-suiJi::before {
  content: '\e6a0';
}
/* 添加图标 */
.my-icon-add::before {
  content: '\e6a4';
  /* color: #515151; */
}
/* 下一首播放 */
.my-icon-addNext::before {
  content: '\e786';
}
/* 下载 */
.my-icon-download::before {
  content: '\e60e';
}

/* 音乐卡片右边的图标 */
.right-icon {
  width: 40%;
  display: flex;
  align-content: space-between;
  justify-content: center;
}
.right-icon i {
  left: 6px;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  font-size: 20px;
  color: #6d6b6b;
}

